package com.borya.model.db;

/**
 * Sdk账户表
 * @author borya
 *
 */
public class SdkMerchantAccount {

	private int id;
	private String appId;
	private String dealerId;
	//余额(分)
	private long leftFee;
	//冻结余额(分)
	private long freezeFee;
	//积分
	private long credit;
	//透支额度,以分为单位
	private long overDraft;
	private long createTime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getDealerId() {
		return dealerId;
	}
	public void setDealerId(String dealerId) {
		this.dealerId = dealerId;
	}
	public long getLeftFee() {
		return leftFee;
	}
	public void setLeftFee(long leftFee) {
		this.leftFee = leftFee;
	}
	public long getFreezeFee() {
		return freezeFee;
	}
	public void setFreezeFee(long freezeFee) {
		this.freezeFee = freezeFee;
	}
	public long getCredit() {
		return credit;
	}
	public void setCredit(long credit) {
		this.credit = credit;
	}
	public long getOverDraft() {
		return overDraft;
	}
	public void setOverDraft(long overDraft) {
		this.overDraft = overDraft;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	@Override
	public String toString() {
		return "SdkMerchantAccount [id=" + id + ", appId=" + appId
				+ ", dealerId=" + dealerId + ", leftFee=" + leftFee
				+ ", freezeFee=" + freezeFee + ", credit="
				+ credit + ", overDraft=" + overDraft + ", createTime="
				+ createTime + "]";
	}
}
